package com.ovopark.organize.server.model.query;

import java.io.Serializable;
import java.util.List;


public class FranchiseesRegistrationQuery implements Serializable {

  private Integer groupId;
  private Integer organizeId;

  private Integer pageSize = 20;
  private  Integer pageNumber =1;
  // 线索来源
  private Integer sources;

  private List<RegistrationFieldQuery> fieldIds;
  //创建人
  private Integer createUserId;

  // 创建时间
  private String startCreateTime;
  //创建时间
  private String endCreateTime;
  // 最后跟进时间
  private String startFinalFollowDate;
  // 最后跟进时间
  private String endFinalFollowDate;
  // 下次跟进时间
  private String startNextFollowDate;
 // 下次跟进时间
  private String endNextFollowDate;

  // 跟进人
  private Integer followUser;
  // 跟进状态
  private Integer followType;
  /**
   *      0 ，1 ，2,3,4
   * 	未分配：线索没有跟进人
   * 	待跟进：线索有跟进人，该跟进人没有添加过跟进记录
   * 	跟进中：线索有跟进人，并且该跟进人添加过跟进记录
   *    已删除 ：线索已经被回收
   *    已加盟 ：线索已经被加盟
   *
   */
   private Integer followStage;

    private String name;
    // 意向等级
    private String intentionLevel;

    private Boolean isAppHomePage = false;

    // 回收原因
    private Integer recycleReasonId;

    private String recycleReasonIds;

    // 回收人
    private Integer recycleUserId;

    // 回收开始时间
    private String startRecycleTime;
    // 回收结束时间

    private String endRecycleTime;

    //是否是 回收站
    private Integer recycle = 0;

    private String followTypes;

    // 分配时间 开始
    private String startDistributionTime;
    // 分配时间 结束
    private String endDistributionTime;

    // 排序字段    finalFollowTime 最后跟进时间  nextFollowTime 下次跟进时间
    private String sortField;
    // 排序方式 DESC 降序  ASC 升序
    private String sortType;

    // 过滤已经加盟的线索
    private Boolean filterJoin = false;

    public Boolean getFilterJoin() {
        return filterJoin;
    }

    public void setFilterJoin(Boolean filterJoin) {
        this.filterJoin = filterJoin;
    }

    public String getStartDistributionTime() {
        return startDistributionTime;
    }

    public void setStartDistributionTime(String startDistributionTime) {
        this.startDistributionTime = startDistributionTime;
    }

    public String getEndDistributionTime() {
        return endDistributionTime;
    }

    public void setEndDistributionTime(String endDistributionTime) {
        this.endDistributionTime = endDistributionTime;
    }

    public String getSortField() {
        return sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public String getSortType() {
        return sortType;
    }

    public void setSortType(String sortType) {
        this.sortType = sortType;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getRecycleReasonIds() {
        return recycleReasonIds;
    }

    public void setRecycleReasonIds(String recycleReasonIds) {
        this.recycleReasonIds = recycleReasonIds;
    }

    public String getFollowTypes() {
        return followTypes;
    }

    public void setFollowTypes(String followTypes) {
        this.followTypes = followTypes;
    }

    public Integer getRecycle() {
        return recycle;
    }

    public void setRecycle(Integer recycle) {
        this.recycle = recycle;
    }

    public Integer getRecycleReasonId() {
        return recycleReasonId;
    }

    public void setRecycleReasonId(Integer recycleReasonId) {
        this.recycleReasonId = recycleReasonId;
    }

    public Integer getRecycleUserId() {
        return recycleUserId;
    }

    public void setRecycleUserId(Integer recycleUserId) {
        this.recycleUserId = recycleUserId;
    }

    public String getStartRecycleTime() {
        return startRecycleTime;
    }

    public void setStartRecycleTime(String startRecycleTime) {
        this.startRecycleTime = startRecycleTime;
    }

    public String getEndRecycleTime() {
        return endRecycleTime;
    }

    public void setEndRecycleTime(String endRecycleTime) {
        this.endRecycleTime = endRecycleTime;
    }

    public Boolean getAppHomePage() {
        return isAppHomePage;
    }

    public void setAppHomePage(Boolean appHomePage) {
        isAppHomePage = appHomePage;
    }

    public String getIntentionLevel() {
        return intentionLevel;
    }

    public void setIntentionLevel(String intentionLevel) {
        this.intentionLevel = intentionLevel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStartFinalFollowDate() {
        return startFinalFollowDate;
    }

    public void setStartFinalFollowDate(String startFinalFollowDate) {
        this.startFinalFollowDate = startFinalFollowDate;
    }

    public String getEndFinalFollowDate() {
        return endFinalFollowDate;
    }

    public void setEndFinalFollowDate(String endFinalFollowDate) {
        this.endFinalFollowDate = endFinalFollowDate;
    }

    public String getStartNextFollowDate() {
        return startNextFollowDate;
    }

    public void setStartNextFollowDate(String startNextFollowDate) {
        this.startNextFollowDate = startNextFollowDate;
    }

    public String getEndNextFollowDate() {
        return endNextFollowDate;
    }

    public void setEndNextFollowDate(String endNextFollowDate) {
        this.endNextFollowDate = endNextFollowDate;
    }

    public Integer getFollowUser() {
        return followUser;
    }

    public void setFollowUser(Integer followUser) {
        this.followUser = followUser;
    }

    public Integer getFollowType() {
        return followType;
    }

    public void setFollowType(Integer followType) {
        this.followType = followType;
    }

    public Integer getFollowStage() {
        return followStage;
    }

    public void setFollowStage(Integer followStage) {
        this.followStage = followStage;
    }

    public String getStartCreateTime() {
    return startCreateTime;
  }

  public void setStartCreateTime(String startCreateTime) {
    this.startCreateTime = startCreateTime;
  }

  public String getEndCreateTime() {
    return endCreateTime;
  }

  public void setEndCreateTime(String endCreateTime) {
    this.endCreateTime = endCreateTime;
  }

  public List<RegistrationFieldQuery> getFieldIds() {
    return fieldIds;
  }

  public void setFieldIds(List<RegistrationFieldQuery> fieldIds) {
    this.fieldIds = fieldIds;
  }

  public Integer getSources() {
    return sources;
  }

  public void setSources(Integer sources) {
    this.sources = sources;
  }

  public Integer getGroupId() {
    return groupId;
  }

  public void setGroupId(Integer groupId) {
    this.groupId = groupId;
  }

  public Integer getOrganizeId() {
    return organizeId;
  }

  public void setOrganizeId(Integer organizeId) {
    this.organizeId = organizeId;
  }

  public Integer getPageSize() {
    return pageSize;
  }

  public void setPageSize(Integer pageSize) {
    this.pageSize = pageSize;
  }

  public Integer getPageNumber() {
    return pageNumber;
  }

  public void setPageNumber(Integer pageNumber) {
    this.pageNumber = pageNumber;
  }
}
